import java.rmi.Naming;

public class Server {
	public static void main(String[] argv){
		try{
			Naming.rebind("Hello", new Hello("Hello, worldlol"));
			System.out.println("Hello server is ready");
		}catch (Exception e){
			System.out.println("Server has thrown exception: " + e);
		}
	}
}
